<p>Daftar Tarif HARAPAN JAYA</p>


<section class="content">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box">
                                <div class="box-header">
                                    <h3 class="box-title">Daftar Tarif Harapan Jaya</h3>
                                    <a href="tarif.php?action=tambah" class="btn btn-info"style="margin-top:5px;">tambah</a>
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
                                    <table id="example2" class="table table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>Kode tarifl</th>
                                                <th>kode rute</th>
                                                <th>kode kelas</th>
                                                <th>tarif</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        	{foreach from=$data item=tar}
                                        	<tr>
                                        		<td>{$tar.kode_tarif}</td>
                                        		<td>{$tar.kode_rute}</td>
                                        		<td>{$tar.kode_kelas}</td>
                                        		<td>{$tar.tarif}</td>
                                        		 <td>
                                                 <td><a href="tarif.php?action=edit&id={$tar.kode_tarif}"><span class="glyphicon glyphicon-edit"></span> Edit</button>
                                                 <!--<button class="btn btn-info">tambah</button>-->
                                                  <a href="tarif.php?action=delete&id={$tar.kode_tarif}"><span class="glyphicon glyphicon-trash"></span> hapus</a></td>
                                                 <!--a href="tarif.php?action=edit&id={$tar.kode_tarif}" class="btn btn-success">Edit</a>
                                                 <!--button class="btn btn-info">tambah</button--> 
                                                 
                                                 <!--a href="tarif.php?action=delete&id={$tar.kode_tarif}"class="btn btn-danger">hapus</-->
                                                 </td>
                                           	</tr>
                                        	{/foreach}
                                        </tbody>
                                     </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->

                           
                        </div>
                    </div>

                </section>